package com.tarena.vehicle.management.mapper;

import com.tarena.vehicle.management.pojo.entity.Vehicle;
import com.tarena.vehicle.management.pojo.vo.VehicleListItemVO;
import java.util.List;

public interface VehicleMapper {

    int getCountByLicense(String license);

    int insert(Vehicle vehicle);

    List<VehicleListItemVO> list(Vehicle vehicle);

    int deleteById(Integer id);

    int update(Vehicle vehicle);

    int updateStatusById(Integer id);

    int updateStatusNormalById(Integer id);
}
